<?php

namespace app\shop\controller;

use app\admin\model\shop\user\Commission;
use app\shop\logic\WithdrawLogic;
use app\shop\model\user\UserModel;
use think\facade\Db;

class Withdraw extends BaseController
{
    protected array $noNeedLogin = [];
    public function __construct()
    {
        parent::__construct();

        $this->logic = new WithdrawLogic();
    }

    /**
     * 数字资产提现
     * @return void
     */
    public function Withdraw(){
        $params = $this->postInput(true);
        $result = $this->logic->addWithdraw($params);
        return $this->success($result);
    }

}